package com.xjtlu.manager.service;

import com.xjtlu.manager.entity.po.Demo;
import com.xjtlu.manager.mapper.DemoMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class DemoService {

    @Autowired
    private DemoMapper demoMapper;

    public List<Demo> Demo() {
        List<Demo> demoList = demoMapper.findAll();
        return demoList;
    }

}
